package com.ctshk.common.constant;

import lombok.Getter;
import lombok.Setter;

/**
 * @description 支付API回调地址
 * @author 谢诗宏
 * @date 2021/6/11
 */
public interface PayNotifyUrlConstants {

    /**
     * 支付宝
     */
    enum Alipay {
        // 酒店回调地址
        HOTEL("/app/ticket/hotel/h5/order/payment"),
        AIRSHOW("/app/ticket/scenic/airshow/payment"),
        // 机场快线回调地址
        AirportExpress("/app/order/airexpress/air/express/customer/payment"),
        // 景点门票回调地址
        SCENIC("/app/order/scenic/app/payment"),
        ;
        @Getter
        @Setter
        private String value;

        Alipay(String value) {this.value = value;}
    }

    /**
     * 微信支付
     */
    enum WeChat {
        // 酒店回调地址
        HOTEL("/app/ticket/hotel/h5/order/payment"),
        // 机场快线回调地址
        AirportExpress("/app/order/airexpress/air/express/customer/payment"),
        // 景点门票回调地址
        SCENIC("/app/order/scenic/app/payment"),
        ;
        @Getter
        @Setter
        private String value;

        WeChat(String value) {this.value = value;}
    }

}
